//
//  layout.swift
//  uiKit-demo
//
//  Created by 陈澎 on 2025/1/22.
//
import Foundation
import UIKit
class ScaleBasedScene {
    static func getFinalSizeVal(_ value: CGFloat) -> CGFloat {
        return (UIScreen.main.bounds.width / 375.0) * value
    }
    static func getRelativeScale(parentW: CGFloat, curW: CGFloat) -> CGFloat {
        return curW / parentW
    }
}
